package com.xueyi.system.BaseNyProcure.domain.dto;

import com.xueyi.system.BaseNyProcure.domain.po.BaseNyProcurePo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 农业采购 数据传输对象
 *
 * @author xueyi
 */
public class BaseNyProcureDto extends BaseNyProcurePo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("auxiliaryType", getAuxiliaryType())
            .append("auxiliaryName", getAuxiliaryName())
            .append("auxiliarySpec", getAuxiliarySpec())
            .append("auxiliaryUnit", getAuxiliaryUnit())
            .append("procureDate", getProcureDate())
            .append("procureNum", getProcureNum())
            .append("procurePrice", getProcurePrice())
            .append("procureTotalPrice", getProcureTotalPrice())
            .append("procureUser", getProcureUser())
            .append("procureCaption", getProcureCaption())
            .append("voucher", getVoucher())
            .append("inspectionReport", getInspectionReport())
            .append("procureImg", getProcureImg())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}